<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="java.util.Enumeration"%>
<%@page import="java.util.Date"%>
<%@page import="java.util.Map"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>alipay</title>
</head>
<body>
<%
String sign = (String)request.getAttribute("sign");
Map<String, String> params = (Map<String, String>)request.getAttribute("params");

%>
<form name="alipay" method="post" action="https://www.alipay.com/cooperate/gateway.do">			
 	<input type=hidden name="body" value="<%=params.get("body")%>">
	<input type=hidden name="out_trade_no" value="<%=params.get("out_trade_no")%>">
	<input type=hidden name="partner" value="<%=params.get("partner")%>">
	<input type=hidden name="payment_type" value="<%=params.get("payment_type")%>"> 
	<input type=hidden name="seller_id" value="<%=params.get("seller_id")%>">
	<input type=hidden name="service" value="<%=params.get("service")%>">
	<input type=hidden name="sign" value="<%=sign%>"> 
	<input type=hidden name="sign_type" value="MD5">      
	<input type=hidden name="subject" value="<%=params.get("subject")%>">
	<input type=hidden name="price" value="<%=params.get("price")%>">
	<input type=hidden name="total_fee" value="<%=params.get("total_fee")%>">
	<input type=hidden name="quantity" value="<%=params.get("quantity")%>">
	<input type=hidden name="discount" value="<%=params.get("discount")%>">
	<input type=hidden name="show_url" value="<%=params.get("show_url")%>">
	<input type=hidden name="return_url" value="<%=params.get("return_url")%>">
	<input type=hidden name="notify_url" value="<%=params.get("notify_url")%>">
	<input type=hidden name="_input_charset" value="<%= params.get("_input_charset")%>">
	<input type=hidden name="logistics_type" value="<%=params.get("logistics_type")%>">
	<input type=hidden name="logistics_fee" value="<%=params.get("logistics_fee")%>">
	<input type=hidden name="logistics_payment" value="<%=params.get("logistics_payment")%>">
	
<table>
<tr>
<td>
<input type='button' name='v_action' value='支付宝网上安全即时支付平台' onClick='document.alipay.submit()'>
</td>
</tr>
</table>
</form>
<body>
</body>
</html>